//
//  OfflineSalonDetailCell.m
//  Jingjing
//
//  Created by user on 15/11/13.
//  Copyright © 2015年 Mikeshihua. All rights reserved.
//

#import "OfflineSalonDetailCell.h"

@implementation OfflineSalonDetailCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
    {
        _titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(16, 0, SCREEN_WIDTH - 32, 44)];
        //        _titleLabel.textColor = kColorGreenTheme;
        [self addSubview:_titleLabel];
        
        _separatedView = [[UIView alloc]initWithFrame:CGRectMake(16, 44, SCREEN_WIDTH - 32, 0.5)];
        _separatedView.backgroundColor = kColorGrayBackground;
        [self addSubview:_separatedView];
        
        
        _addressHintLabel = [[UILabel alloc]initWithFrame:CGRectMake(35, 56, 80, 16)];
        _addressHintLabel.text = @"时间：";
        _addressHintLabel.font = [UIFont systemFontOfSize:14];
        //        _addressHintLabel.textColor = kColorGrayText;
        [self addSubview:_addressHintLabel];
        
        _afterclassHintLabel = [[UILabel alloc]initWithFrame:CGRectMake(35, 108, 80, 16)];
        _afterclassHintLabel.text = @"地点：";
        _afterclassHintLabel.font = [UIFont systemFontOfSize:14];
        //        _afterclassHintLabel.textColor = kColorGrayText;
        [self addSubview:_afterclassHintLabel];
        
        _addressLabel = [[UILabel alloc]init];
        //        _addressLabel.textColor = kColorGrayText;
        _addressLabel.font = [UIFont systemFontOfSize:14];
        [self addSubview:_addressLabel];
        
        _afterclassLabel = [[UILabel alloc]init];
        //        _afterclassLabel.textColor = kColorGrayText;
        _afterclassLabel.font = [UIFont systemFontOfSize:14];
        [self addSubview:_afterclassLabel];
        
        
        _InfoLabel = [[UILabel alloc]init];
        _InfoLabel.font = [UIFont systemFontOfSize:14];
        [self addSubview:_InfoLabel];
        
        //        _separatedView = [[UIView alloc]initWithFrame:CGRectMake(0, 161, SCREEN_WIDTH, 16)];
        //        _separatedView.backgroundColor = kColorGrayBackground;
        //        [self addSubview:_separatedView];
        
        self.selectedBackgroundView = [[UIView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, SCREEN_WIDTH, 161.0f)];
        
    }
    return self;
}

@end
